<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@include file="WEB-INF/jsps/common.jsp" %>

<script type="text/javascript">
	function test(){
		
	}
</script>
</head>
<body>
	 <div style="padding:5px 0;">
	 	<a href="#" class="easyui-linkbutton" onclick="$('#dlg').dialog('open')" data-options="iconCls:'icon-add'">上传文件</a>
	 </div>
	 <div id="dlg"  class="easyui-dialog" closed="true" title="上传文件" style="width:400px;height:200px;padding:10px"
            data-options="
                iconCls: 'icon-save',
                cls:'dialog',
                modal: true,
                buttons: [{
                    text:'Ok',
                    iconCls:'icon-ok',
                    handler:function(){
                        
                    }
                },{
                    text:'Cancel',
                    iconCls:'icon-cancel',
                    handler:function(){
                        $('#dlg').dialog('close');
                    }
                }]
            ">
       <input id="fb" class="easyui-filebox" style="width:100%" data-options="prompt:'请选择文件...',multiple:true,buttonText:'选择文件',accept:'image/jpeg'">
    </div>
</body>
</html>